package com.cn.why.springcloudskills.mapper;

import com.cn.why.springcloudskills.entity.SuccessKilled;
import org.apache.ibatis.annotations.Mapper;

/**
 * 秒杀成功的mapper
 */
@Mapper
public interface SuccessKillMapper {
    //存入秒杀成功的信息
    void save(SuccessKilled suucess);
    /**
     * 删除秒杀成功的
     */
    void deleteSuccess(Long seckillId);

    int getCountSkills(long seckillId);
}
